Add some hash code tests.