more tests for database