Added more tests and setup teardown for clearing the test database