Updated test cases for reversed iteration.