Re #7714. Added unit tests for BSpline. Fixed issues.
Re #7714. Added checks for invalid inputs for attributes.
Merge remote-tracking branch 'origin/feature/7714_bspline_unit_test'