Added dependencies for new testing strategy with chai and sinon.
Added test for globals.js