Fixed test in staircase averaging.