test hashing