fix functional tests for batcher