fix the db test case