more db testing infrastructure