introduce sinon for mocking and update jshint to tolerate mocha expressions