Test of CheckAccelerationPeaks().