added tests for graph traversal and setup.