Added 2 test cases to DirectedGraphUnitTest