         directives.sourceURL = DistantBasicSyncTests._upFolderURL
         directives.destinationURL = DistantBasicSyncTests._distantTreeURL
         
-        let directivesURL = DistantBasicSyncTests._upFolderURL!.URLByAppendingPathComponent(BsyncDirectives.DEFAULT_FILE_NAME, isDirectory: false)
+        let directivesURL = DistantBasicSyncTests._upFolderURL.URLByAppendingPathComponent(BsyncDirectives.DEFAULT_FILE_NAME, isDirectory: false)
         let (success, message) = BsyncAdmin.createDirectives(directives, saveTo: directivesURL)
         
         if(!success) {

    private static let _spaceUID = Bartleby.createUID()
    private static let _password = Bartleby.randomStringWithLength(6)
    private static var _user: User?
    private static let _fileManager = NSFileManager()
    
    private static let _treeName = Bartleby.randomStringWithLength(6)
//    private static let _upFolderPath = NSTemporaryDirectory() + _treeName
//    private static let _upFolderURL = NSURL(fileURLWithPath: _upFolderPath)
    private static let _upFolderURL = Bartleby.getSearchPathURL(.DesktopDirectory)?.URLByAppendingPathComponent("bsyncTests/DistantBasicSyncTests/Up")
    private static let _fileURL = _upFolderURL?.URLByAppendingPathComponent("file.txt")
    private static let _fileContent = Bartleby.randomStringWithLength(20)
    
    private static let _apiUrl = TestConfiguration.API_BASE_URL.URLByAppendingPathComponent("BartlebySync")
    private static let _distantTreeURL = _apiUrl.URLByAppendingPathComponent("tree/\(_treeName)")
    
//    private static let _downFolderPath = NSTemporaryDirectory() + _treeName
//    private static let _downFolderURL = NSURL(fileURLWithPath: _upFolderPath)
    private static let _downFolderURL = Bartleby.getSearchPathURL(.DesktopDirectory)?.URLByAppendingPathComponent("bsyncTests/DistantBasicSyncTests/Down")
    
    override static func setUp() {
        Bartleby.sharedInstance.configureWith(TestConfiguration)

        directives.sourceURL = DistantBasicSyncTests._distantTreeURL
        directives.destinationURL = DistantBasicSyncTests._downFolderURL
        
        let directivesURL = DistantBasicSyncTests._downFolderURL.URLByAppendingPathComponent(BsyncDirectives.DEFAULT_FILE_NAME, isDirectory: false)
        let (success, message) = BsyncAdmin.createDirectives(directives, saveTo: directivesURL)
        
        if(!success) {
