add db and db test