Added graph tests.