Added polynomial tests