test that the batch stuff works