Revert "Add test for document-local URLs."

This reverts commit 1876bf149ebe94c7180e37c721b582859d2a83bf.
Add tests, this time in test/unit-test.js.