constrained-b-spline: add size check on parameters in test.