Add unit test for group class