 
     HeliumLogger.use()
 
+    XCTAssertNotNil(serverController, "ServerController object is nil and is not getting created properly.")
     Kitura.addHTTPServer(onPort: 8090, with: serverController!.router)
 
     queue.async {

    XCTAssertEqual(user["type"].stringValue, "user")

    let tags = image["tags"].arrayValue
    XCTAssertEqual(tags.first!["confidence"].intValue, 89)
    XCTAssertEqual(tags.first!["label"].stringValue, "road")
    XCTAssertEqual(tags.last!["confidence"].intValue, 50)
    XCTAssertEqual(tags.last!["label"].stringValue, "mountain")

    let location = image["location"]
    XCTAssertEqual(location["latitude"].stringValue, "34.53")

    do {
      let imageData = try Data(contentsOf: imageURL)
      let jsonData = try JSONSerialization.data(withJSONObject: imageDictionary, options: JSONSerialization.WritingOptions(rawValue: 0))
      let url = URL(string: "http://127.0.0.1:8090/images")
      XCTAssertNotNil(url, "Post image URL is nil.")
      var request = URLRequest(url: url!, cachePolicy: .reloadIgnoringCacheData, timeoutInterval: 10.0)
      request.timeoutInterval = 60
      request.httpMethod = "POST"
      request.setValue("multipart/form-data; boundary=\(boundary)", forHTTPHeaderField: "Content-Type")
