Added class for single spline + test.