Implemented url_in, url_is and corresponding tests

Change-Id: I11f8b97715add1590e0d80a7865a1f3511a04750
diff --git a/test_rsync_url.py b/test_rsync_url.py
index 11727f4..19c73a8 100644
--- a/test_rsync_url.py
+++ b/test_rsync_url.py
@@ -62,6 +62,20 @@
         self.log_locals(url)
         self.assertEqual(url.url, expected_result)
 
+    def url_in(self, remote, expected_result):
+        logger.info('"{}" - {}'.format(remote, expected_result))
+        url = rsync_url.RsyncUrl(remote)
+        self.log_locals(url)
+        for par, er in expected_result.items():
+            self.assertEqual(url.url_in(par), er)
+
+    def url_is(self, remote, expected_result):
+        logger.info('"{}" - {}'.format(remote, expected_result))
+        url = rsync_url.RsyncUrl(remote)
+        self.log_locals(url)
+        for par, er in expected_result.items():
+            self.assertEqual(url.url_is(par), er)
+
 testdata = yaml.load(open('test_rsync_url.yaml'))
 
 index = 1