MDL-44794 group: unit test for get_groups method.
MDL-44794 group: unit test for groups_get_user_groups method.