INT-3035 Fix ExponentialMovingAverageRate 'window'

'window' constructor arg was not used.

Add test.