db testing infrastructure