tested event subscription and broadcast