Made convergence tests more robust.