         }
         tagExpectation.fulfill()
     }
-    waitForExpectations(timeout: 10.0, handler: nil)
+    waitForExpectations(timeout: timeout, handler: nil)
   }
 
   // MARK: Image related tests

    }
    req.end(close: true)
    
    waitForExpectations(timeout: 15.0, handler: nil)
  }

}

        XCTAssertNotNil(user["_rev"].string)
        userExpectation.fulfill()
    }
    waitForExpectations(timeout: timeout, handler: nil)
  }

  func testCreatingUser() {
