Add test for getCurrentGroupId()