Fix vertex data in graph_subst test graphs
graph_subst tests: write out dot file on failure