Adding sinon.js framework for spies, stubs and mocks.
Added test for settings.js using sinon mocks for fs and path