Unit test quadratic equation