Fixed everyPlayerHasTeam test