digraph_test, add TestEdgeCount