Add tests for sitemapindex Resource List, and fix code supporting it