adjusting test_graph