using mocha/chai/sinon in stead of jasmine