     
     func testReconstructUrlWithoutParamsAndMultipleNewParams() {
         let inputUrl = NSURL.init(string: "https://paulstraw.imgix.net/pika.jpg")
-        let generatedUrl = client.reconstruct(originalURL: inputUrl as! URL, params: ["w": 200, "h": 200])
+        let generatedUrl = client.reconstruct(originalURL: inputUrl! as URL, params: ["w": 200, "h": 200])
         let expectedUrl = "https://paulstraw.imgix.net/pika.jpg?h=200&w=200"
         
         XCTAssert(generatedUrl.absoluteString == expectedUrl)

    
    func testReconstructUrlWithDifferentHostThanClient() {
        let inputUrl = NSURL.init(string: "https://faulstraw.imgix.net/pika.jpg")
        let generatedUrl = client.reconstruct(originalURL: inputUrl as! URL)
        let expectedUrl = "https://faulstraw.imgix.net/pika.jpg"
        
        XCTAssert(generatedUrl.absoluteString == expectedUrl)

    
    func testReconstructUrlWithMultipleExistingParams() {
        let inputUrl = NSURL.init(string: "https://paulstraw.imgix.net/pika.jpg?w=200&h=200")
        let generatedUrl = client.reconstruct(originalURL: inputUrl! as URL)
        let expectedUrl = "https://paulstraw.imgix.net/pika.jpg?h=200&w=200"

        XCTAssert(generatedUrl.absoluteString == expectedUrl)
    }
    
    func testReconstructUrlWithoutParamsAndOneNewParam() {
        let inputUrl = NSURL.init(string: "https://paulstraw.imgix.net/pika.jpg")
        let generatedUrl = client.reconstruct(originalURL: inputUrl! as URL, params: ["w": 200])
        let expectedUrl = "https://paulstraw.imgix.net/pika.jpg?w=200"
        
        XCTAssert(generatedUrl.absoluteString == expectedUrl)
