cdr: submit: fix logic of test for batch mode