@Test
 public void testCleanUrl() throws IOException {
   URI uri = RibbonClient.cleanUrl("http://myservice/questions/answer/123", "myservice");
   assertEquals("http:///questions/answer/123", uri.toString());
 }
 @Test
 public void testCleanUrlWithMatchingHostAndPart() throws IOException {
   URI uri = RibbonClient.cleanUrl("http://questions/questions/answer/123", "questions");
   assertEquals("http:///questions/answer/123", uri.toString());
 }