TST: Add tests to explicitly check hessian, loss and gradient for fit_intercept