MovingAverage tests nit, issue #1538