Unit tests for database objects and improve unit tests for pages
More database methods + tests