added junit tests for PersistenceService