Hashing tests.