Positive invariance tests with efficient Hessian matrix eigenvalues bounds