Added some more tests with higher-order polynomials