Some code to test the Database system