- added ScopedEventEmitter
- using ScopedEventEmitter in tests