Tests for class ToUriToUrl refactored.