Added arbitrary function test for ConstraintSpline.