Merging Rogers changes in unit_tests.js
Finished removing debugcolor, allowed node1 to pass json to functions
Bugfix in removing the debugcolor