Make sure that a group has a semantic tag.
Small tweak to profile test.

- This is not a unit test, since it writes an XML file to be inspected manually.