make mediator.subscribeOnce method readonly
add tests for mediator.subscribeOnce and eventBroker.subscribeEventOnce