Fixing arrays issue in CubicSplineTest

Refs #5591
Merge branch 'feature/5591_cubic_spline_algorithms' into develop