Added unit test for code coverage of getEdgeIterator