Added some more tests for the hashing stuff.