Added two tests to the DirectedGraphUnitTest