db test support