Fix hashCode test