 			}.doOnCompleted { expectation.fulfill() }.subscribe().addDisposableTo(bag)
 		
 		
-		waitForExpectationsWithTimeout(2, handler: nil)
+		waitForExpectationsWithTimeout(waitTimeout, handler: nil)
 		
 		XCTAssertEqual(5, stubIncrement)
 		XCTAssertEqual(5, errorCounter)

		
		XCTAssertEqual(false, fakeSession.task?.isCancelled)
		disposable.dispose()
		waitForExpectationsWithTimeout(1, handler: nil)
		XCTAssertEqual(true, fakeSession.task!.isCancelled)
	}
	

			expectation.fulfill()
		}.addDisposableTo(bag)
		
		waitForExpectationsWithTimeout(waitTimeout, handler: nil)
	}
	
	func testLoadCorrectEmptyData() {
