testcase for polynom