better db testing