Added more tests to polynomial function tests driver.