addEdge test