fix equalsTest