       XCTFail("Failed to convert image dictionary to binary data.")
     }
 
-    waitForExpectations(timeout: 18.0, handler: nil)
+    waitForExpectations(timeout: 20.0, handler: nil)
   }
   
   func testGettingImagesForUser() {

    } catch {
      XCTFail("Faild to convert dictionary to JSON")
    }
    waitForExpectations(timeout: 10.0, handler: nil)
  }
  
  func testPushNotification() {

      XCTAssertNil(error)
      // Only works with physical device, so we expect a bad status
      if let httpResponse = response as? HTTPURLResponse {
        XCTAssertNotEqual(httpResponse.statusCode, 200)
      }
      pushExpectation.fulfill()
    }.resume()
