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

      XCTFail("Failed to convert image dictionary to binary data.")
    }

    waitForExpectations(timeout: 18.0, handler: nil)
  }
  
  func testGettingImagesForUser() {

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