added Mocha.js, Chai.js, and Sinon.js for testing