test for database stuff