Fix graphviz_test with test table

The tests were explicitly checking order where the underlying implementation is `map[string]*BasicNode`. This PR addresses the order which is not known and within the test I create a test table to allow multiple tests (2 in this PR rather than 1).