Add tests to check resolving URLs in xhtml document