Improved the graph_suite function for tests.
Sort compared files in one test.
Merge pull request #1097 from hjoliver/tests-graph-comp-fix

Improved the graph_suite function for tests.