Fixed hashcode tests.