Node.js's assert plus 'emits' and 'doesNotEmit'