added a test file for the db module