Add a test for issue #425.

Also extended `loadXML` to support testing in the same way that `jsonp` and
`loadImage` do.
Fix broken doc build, and add a comment to loadXML.
Merge pull request #432 from AnalyticalGraphicsInc/issue425

Add a test for issue #425.