SWITCHYARD-2474 Adding proper test for EntityManager mixin