Changed visibility of AbstractCoreEntity to public to allow mocking of
entities (Mockito has problems when the parent of the mocked class
is not public).