added test for batch data