Add unittest for zpath.