Added a test for hashing.