Fixed issue with TestEntityObjectTest