fixed reference to EntityManager within TestCase