     let expectationThrow = expectationWithDescription("dispatch_sync_throws should throw")
     do {
       try dispatch_sync_throws(queue) {
+        expectationThrow.fulfill()
         throw DispatchTestError()
       }
 

    }
    catch {
      XCTAssertTrue(error is DispatchTestError)
      expectationThrow.fulfill()
    }

    waitForExpectationsWithTimeout(5, handler: nil)


      do {
        try dispatch_sync_main {
          expectationThrow.fulfill()
          throw DispatchTestError()
        }
      }
      catch {
        XCTAssertTrue(error is DispatchTestError)
      }
    }

