updated the test cases so the the created database is tested properly and that the table is created properly