team function tested.

team function created to be tested.