Fix erroneous test case for AllReduce in iterations.