Improve the functional tests for groups

Add some detailed system tests.
Make the concordion output more wordy.
Fix some minor issues in test framework.