added persistence test helper which sets up the database