Add test for document-local URLs.