Initial test of ParametricFunction, and fixes to pass that test.