testing chebyshev polynomials