     
     func testReadingFileWithTildePath() {
         performTest {
-            try FileSystem().homeFolder.createFile(named: ".filestest")
-            let file = try File(path: "~/.filestest")
+            try folder.createFile(named: "File")
+            let file = try File(path: "~/.filesTest/File")
             try XCTAssertEqual(file.read(), Data())
-            XCTAssertEqual(file.path, FileSystem().homeFolder.path + ".filestest")
+            XCTAssertEqual(file.path, folder.path + "File")
 
             // Cleanup since we're performing a test in the actual home folder
             try file.delete()

import Files

class FilesTests: XCTestCase {
    let folder = FileSystem().temporaryFolder
    
    // MARK: - Tests
    

        performTest {
            let fileManager = FileManagerMock()
            let fileSystem = FileSystem(using: fileManager)
            let subfolder = try fileSystem.temporaryFolder.createSubfolder(named: UUID().uuidString)
            let file = try subfolder.createFile(named: "file")
            try XCTAssertEqual(file.read(), Data())
        
