Minor cleanup in modeling package
Add test_polynomial.py