ENG-5359 Add batch query test.