add graph tests