graph tests