Design rules tests verify that all entities have equals and hashCode