unit test for getGroupBoxClass