Fixing arrays issue in CubicSplineTest

Refs #5591