Added test case 7 to DirectedGraphUnitTest