tests for database class, includes