Change all equals test on Entity Tests.

Assert.assertEquals(Object a, Object b) use operator "==" as comparison
and this only  compare the memory address.