Linear function gradient must not be inserted into g.
Fix test suite