test method for persistence class and verwalter