test for batch sizes