finish db test