 
     var value = arc4random()
     tbd.notify {
-      XCTAssert( $0 == value )
+      XCTAssert( $0.value == value )
       e2.fulfill()
     }
 

    let lucky = Int(arc4random_uniform(numericCast(count)))

    let deferreds = (0..<count).map { _ in TBD<Int>() }
    let first = firstCompleted(deferreds)

    do { try deferreds[lucky].determine(lucky) }
    catch { XCTFail() }

      }
    }

    let first = firstDetermined(deferreds)
    XCTAssert(first.value == lucky)
    waitForExpectationsWithTimeout(1.0, handler: nil)
  }
