polynomial: fix a test after the removal of univariate_monomial.