test xref with multiple sections