adding tests to verify hashing works and orders as expected