Redoing some lost work - adding entity manager functions to loading test fixtures