add tests for batchRequest JSON