Fix small problems in spline testing code which give build errors

I am going to pull an early bird on @andlaus here and submit suggested fixes for these :-)