PersistenceExtension test