Add tests for URL::previous().
Merge pull request #6302 from vlakoff/url-testing

[4.2] Add Tests For URL::previous()