Added tests for onPlayerJoinEvent
Added onPlayerQuit tests and refactored the player quit and join events