entity equals, hashcode - default implementation. Fixed tests.