Fix LinearDecay and add test for it