Add mocha to npm test

Sorry for separate PR - this was definitely supposed to be part of the first one