Test case for intreaction of substitution groups and #definedSibling.