Fixed test fails for entity integration tests, EntityManager now has one more constructor argument.