RollingAvearge NaN test improvement