AVISIMPL-337 Statistics for batch: Fixed tests.