Added the rest of the tests for the graph structure.