Updated FADHessian API and relevant test