Test for AnnotatedGraph.edges.