fixed test for Db module - cleanup happens after test execution