fix hessian indices in NLP test, thanks to Felix Jung