Added server testing using mocha, chai, sinon, chai-sinon and proxyquire