Add API test for team fetching.

Change-Id: I0b5c89e8066c8e63210d23beef79973b729105b3
Add API tests for the setting of a user's team.

Change-Id: I1b770dfa5d713d963e0cbaac613af71f924f4c86