I think this needs to test also higher-order polynomials than order 1 and 2