* use team uid for team group actions * add constructor for tests; rename vars for clarity * github told me to do this