Fixed EntityManagerMock