[fix] Correctly execute the `data` event.
[test] Adding test for broadcasting method.