spec for team.rb