test database output