Revised hashCode tests