Fix spring tests with parameters.