Added a test case for getWorkGroupInfo