setup and failing test with extended EntityManager