support getting groups by providing userid
support adding user to group by userid
support removing user from group by userid
update tests to cover the new userid parameter and convert tests touched to use the assertRaises context manager