fixed db test error when db name with alias