a bit more testing for quadratic function