fix db test case