Added hashing tests.