Clean up GraphUtilities internal state in test teardown
Add regression test case for MAGN-737
Merge pull request #771 from ke-yu/ChocoButter

Clean up GraphUtilities internal state in test teardown