The tests pass, the bug was fixed long ago, and the rest is a very long discussion about generalizing comparison of xrefs and canonicalizing filenames.

I'm closing this one.