Test for batch example