Tests for formulas and linear decay formula.