messy, but more tests rendering polynomials