Remove dead code, minor cleanup for GraphNode class
code clean up; remove dead code
code cleanup and display runtime warnings
Add test case
Merge pull request #1454 from ke-yu/restore_warnings

Fix MAGN-2623 Warnings are not coming on nodes