Modified finagle db tests so that they execute n queries