Finished test for translatePersistenceResource.