Test case for interaction of substitution groups and #definedSibling.