LPS-50675 Adapt the persistence extension to the PersistenceTestRule