Lyapunov test