Testing with Graphs