Using event bus for tests and requirable nodmeon

TODO: remove stdout inside tests
merge up