Test case for group marks

This adds a simple test case for indirect field references in groups.