Added tests for team related operations.