EntityManager cannot be a singleton because of tests