for test cases : do remove db file instead of call function db.clear at the very start