Fixed prediction command for splines on the test set