tweaked the parallel test implementation to have a batchSize.