 
 import XCTest
 import Result
-@testable import BrightFutures
+import BrightFutures
 
 class TestLogger: LoggerType {
     var lastLoggedMessage: String?

        let logger = TestLogger()
        let f = Future<Void, NSError>(error: error).debug(logger: logger, file: file, line: line, function: function)
        let debugExpectation = self.expectation(description: "debugLogged")
        let expectedMessage = "\(file.lastPathComponent) at line \(line), func: \(function) - future failed"
        
        f.onFailure { _ in
            XCTAssertEqual(logger.lastLoggedMessage, expectedMessage)

    let testIdentifier = "testFutureIdentifier"
    let error = NSError(domain: "test", code: 0, userInfo: nil)
    let file = #file
    let fileName = (#file as NSString).lastPathComponent
    let line: UInt = #line
    let function = #function
    
    func testDebugFutureSuccess() {
        let logger = TestLogger()
        let f = Future<Void, NoError>(value: ()).debug(logger: logger, file: file, line: line, function: function)
        let expectedMessage = "\(fileName) at line \(line), func: \(function) - future succeeded"
        let debugExpectation = self.expectation(description: "debugLogged")
        
        f.onSuccess {
