Fixes some bugs related to config_groups tests