Add a test for CFGraph.topo_sort()