redue db test