Testing batch index