Ingo suggested that the kleopatragroupsrc would be better placed into the GNUPGHOME, as it relates to certificates, not Kleopatra. When setting up a separate GNUPGHOME for testing, those group definitions should be taken from there, as are the certificates.
When we move it, we should rename it, too. How about kleopatragroups.conf?
Update: The group definitions should be stored in GNUPGHOME/kleopatra/kleopatragroupsrc. Existing group definitions in the old location should be migrated/copied to the new location if no file exists in the new location. The file in the old location should be kept.