test adding groups to a user