Molint moproblems

fix(tests): Fix the jshint errors and warnings in all of the tests.

* Remove all of the remaining `global: *` declarations
* Remove or comment out all veriables that are "defined but never used"
* Use dot notation where it is "better" (very subjective)
* Make unreachable code reachable.