Run dot to generate graph and test for their output.