Added test case 8 to DirectedGraphUnitTest