Test of the nonlinear fitter on polynomials.