Added tests for MovingAverageEnvelope class