[minor] Adding missing end event.
[minor] Adding missing join and leave events.
[fix] The leader should be string by default so types will match.
[test] Adding test for node joins