begin to test the CurveFitting method.