Move the group config class into the testapi package to avoid cyclic dependency