[test] Tests for moving average