Complete subInlineAnchors() implementation.
Implement test type for References.