Adding a graph testcase