     super.setUp()
     
 //    resetDatabase()
-    
+
     if self.accessToken == "" {
       let tokenFileName = "authToken"
       let tokenFileURL = fileURL(directoriesUp: 1, path: tokenFileName)
+
       do {
-        self.accessToken = try String(contentsOf: tokenFileURL)
+        // contentsOf not yet supported on Linux for String type
+        let fileContents = try NSString(contentsOf: tokenFileURL, encoding: String.Encoding.utf8.rawValue)
+        self.accessToken = String(describing: fileContents)
       } catch {
         XCTFail("Could not get authToken from file.")
       }

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

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

      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()
