             testValue += 1
         }
         
-        try! self.waitForConditionsWithTimeout(1) { () -> Bool in
-            return false
-        }
+        do {
+            try self.waitForConditionsWithTimeout(1) { () -> Bool in
+                return false
+            }
+        } catch {}
         
         XCTAssertTrue(testValue > 3)
     }

            testValue += 1
        }
        
        try! self.waitForConditionsWithTimeout(1) { () -> Bool in
            return false
        }
        
        XCTAssertTrue(testValue > 3)
        let finalTestValue = testValue
        timer.cancel()

        try! self.waitForConditionsWithTimeout(0.5) { () -> Bool in
            return false
        }
        
        XCTAssertTrue(testValue == finalTestValue)
    }

            testValue += 1
        }
        
        do {
            try self.waitForConditionsWithTimeout(1) { () -> Bool in
                return false
            }
        } catch {}
        
        XCTAssertTrue(testValue > 3)
        
