     }
 
     func testCreateAndRemoveDirectories() {
-        let p = Path.tempDirectory().appending("tempdir.tmp")
+        do {
+            let p = try FS.temporaryDirectory() + "tempdir.tmp"
         let s = p.appending("subdir")
         let q = s.appending("file.tmp")
-        do {
             try FS.createDirectory(path: s, intermediate: true)
             XCTAssert(FS.isDirectory(path: p) == true)
             XCTAssert(FS.isDirectory(path: s) == true)

    }

    func testCreateAndRemoveDirectory() {
        let p = Path.tempDirectory().appending("tempdir.tmp")
        do {
            try FS.createDirectory(path: p)
            XCTAssert(FS.isDirectory(path: p) == true)
            try FS.removeItem(path: p)

    }

    func testGetInfo() {
        do {
            let p = try FS.temporaryDirectory() + "testfile.tmp"
            try FS.touchItem(path: p)
            XCTAssert(FS.fileExists(path: p) == true)
            let info1 = try FS.getInfo(path: p)
