added unit tests to check case of insufficient control points relative to the splines order