             onSuccessMappedExpectation()
         }
         mapped.onFailure {error in
-            XCTAssert(false, "mapped onFailure called")
+            XCTAssert(false, "mapped future onFailure called")
         }
         writeSuccesfulFutures(promise, [true, false])
         waitForExpectationsWithTimeout(2) {error in

            onSuccessMappedExpectation()
        }
        mapped.onFailure {error in
            XCTAssert(false, "mapped onFailure called")
        }
        writeSuccesfulFutures(promise, true, 2)
        waitForExpectationsWithTimeout(2) {error in

        }
    }
    
    func testSuccessfulMappingToFutureStream() {
        let promise = StreamPromise<Bool>()
        let stream = promise.future
        let onSuccessExpectation = fulfillAfterCalled(2, message:"onSuccess future")
