added acceptance tests for batching