Testing getTeamByName