Unit testing for team_helpers