Fix spring tests