testing alternating convergence