move spline test
split code up even more