writing some test for the DataBase