Add tests for URL::previous().