Test batches of mixed statement types and their results

The tests for batches didn't cover series of DML statements well. Improve them.