Convert EntityManager/EventManager to fixtures in PythonTest.