Unit tests added for PersistenceUtil methods and queries.
Three tests still failing - only queries with to/from values.
Once solved, test coverage should be ~60%.