Partial refactor of tests to be run with mocha normally
allow browser tests to run
update tests to run with browser globals
build
updated path creation to use __dirname
Tweak
Tweak