tests: Add tests for event bus.