spring gradients and test