Added tests for chat event.  refactored player logic into a player helper in the base class.