test lagrange