(feat) fix db query test