Add testcase for sibling modules.

Closes PR 13155.