Implemented more tests for DirectedGraph class.