Refactor tests
Make NcipService extend EventEmitter