Add a test for Document#URL involving a redirect.
Merge pull request #1452 from Ms2ger/url-redirect

Add a test for Document#URL involving a redirect.