Unit test for RmBatchLog