Add unit tests for the batch service. They all pass.