Use mocha + chai + sinon in unit tests