public void Properties()
        {
            StoragePath path = new StoragePath("////some\\malformed/path\\\\here");

            Assert.AreEqual("here", path.Name);
            Assert.AreEqual("", path.Extension);

            path = path.SetExtension("txt");

            Assert.AreEqual(".txt", path.Extension);
            Assert.AreEqual("here.txt", path.Name);
            Assert.AreEqual(false, path.IsAbsolute);

            path = new StoragePath("C:\\") + path;

            Assert.AreEqual(true, path.IsAbsolute);
            Assert.AreEqual("C:somemalformedpathhere.txt", string.Join("", path.Segments));
            Assert.AreEqual(new Uri(path.ToString()), path.ToUri());
        }