Add a test to validate graphviz label format