some testing of the database