Added test for calculateMovingAverage(). Not complete.