Make the graphviz png output test required

Also make it a little more strict: it now checks that a file is created,
not just that the "create an image" function doesn't blow up.