Fixed two bugs and added tests for them:
* When initialising with a constant, len(f) is now set correctly.
* __init__ now accepts a regular list of chebyshev coefficients.