Add tester for graph data structure