Add moving average test.