Tests for the graph parts of the DPI stuff