For general reasons to test, see Sandro Cirulli’s 2017 paper introducing XSpec v0.5.0[CIR2017] and Stretching XPath: Three Testing Tales: Beyond Primary Use Cases of Certain XML Functions and Standards by Amanda Galtman[GAL2024].