More usage of iterator.next() in tests that I missed...

Now using built-in function next(...) in place of next method.