added tests for batch requests