mvavg and tests