test of batch