Grunt: Update test-on-node task to remove globals

Ref #582