             XCTAssertEqual(qos_class_self(), QOS_CLASS_UTILITY, "On \(qos_class_self().description) (expected \(QOS_CLASS_UTILITY.description))")
             expectation.fulfill()
         }
-        waitForExpectationsWithTimeout(1, handler: nil)
+        waitForExpectationsWithTimeout(timeMargin, handler: nil)
     }
 
     func testAsyncBackground() {

        let expectation = expectationWithDescription("Expected on main queue")
        var calledStuffAfterSinceAsync = false
        Async.main {
            XCTAssertEqual(qos_class_self(), qos_class_main(), "On \(qos_class_self().description) (expected \(qos_class_main().description))")
            XCTAssert(calledStuffAfterSinceAsync, "Should be async")
            expectation.fulfill()
        }
        calledStuffAfterSinceAsync = true
        waitForExpectationsWithTimeout(1, handler: nil)
    }

    func testAsyncUserInteractive() {

        waitForExpectationsWithTimeout(1, handler: nil)
    }
}
