Remove the use of `global` variable inside test setup files to fix issue with updated version of mocha

fixes #144
Merge pull request #145 from walmartlabs/bugfix-mocha-global

Bugfix: Tests fail to run: 'ReferenceError: Can't find variable: global'