fix tests for graphviz