Add a test for URLByReplacingRoot.