Added test_mode() method to batcher