Batch_dispatch mocked