Update PersistenceTestModule to change the way that entity listeners are injected.