Modified GraphTest to use Graph.iterators(). #398