updated hashcode testing