fixed db test