Tests for hessian evaluation