         XCTAssertNotEqual(httpResponse.statusCode, 200)
       }
       pushExpectation.fulfill()
-    }.resume()
+    }.resume()*/
+    
+    var requestOptions: [ClientRequest.Options] = [.method("POST"), .hostname("127.0.0.1"), .port(8090), .path("/push/images/2010")]
+    var headers = [String:String]()
+    headers["Content-Type"] = "application/json"
+    headers["Authorization"] = "Bearer \(self.accessToken)"
+    requestOptions.append(.headers(headers))
+    
+    let req = HTTP.request(requestOptions) { resp in
+      if let resp = resp {
+        XCTAssertNotEqual(resp.statusCode.rawValue, 200)
+      }
+      pushExpectation.fulfill()
+    }
+    req.end(close: true)
+    
     waitForExpectations(timeout: 15.0, handler: nil)
   }
 


    let pushExpectation = expectation(description: "Sends a push notification to a User.")

    let url = URL(string: "http://127.0.0.1:8090/push/images/2010")
    XCTAssertNotNil(url, "Push notification URL for image 2010 is nil.")
    var request = URLRequest(url: url!)
    request.httpMethod = "POST"

          ("testGettingUsers", testGettingUsers),
          ("testGettingSingleUser", testGettingSingleUser),
//          ("testCreatingUser", testCreatingUser),
          ("testPushNotification", testPushNotification)
      ]
  }

