Testing convergence with Newton-CG