issue #20332: move test to list_relations_box
issue #20332: use XV.inheritsFrom
issue #20332: better documentation
issue #20332: don't fail on extensionless environment
issue #20332: use XV.inheritsFrom in list test as well