Refactored VectorSpline tests to use list comprehension.