     }
   }
   
-  func testStopUrl() {
+  func testStopUrl() throws {
     let url = URL(string: "tripgo:///stop/AU_NSW_Sydney/2035143")!
     
-    guard let w = try? TKShareHelper.stopDetails(for: url).toBlocking().first(), let result = w else { XCTFail(); return }
+    guard let result = try TKShareHelper.stopDetails(for: url).toBlocking().first() else { XCTFail(); return }
     
     XCTAssertEqual(result.region, "AU_NSW_Sydney")
     XCTAssertEqual(result.code, "2035143")


    let url = URL(string: "tripgo:///go?tname=dragon.letter.spoke")!
    
    guard let w = try? TKShareHelper.queryDetails(for: url, using: geocoder).toBlocking().first(), let result = w else { XCTFail(); return }
    
    XCTAssertNil(result.start)
    XCTAssertTrue(result.end.isValid)

  }
  
  
  func testMeetUrl() throws {
    let geocoder = SGAppleGeocoder()
    let url = URL(string: "tripgo:///meet?lat=-33.94501&lng=151.25807&at=1385535734")!
    
    guard let result = try TKShareHelper.meetingDetails(for: url, using: geocoder).toBlocking().first() else { XCTFail(); return }
    
    XCTAssertNil(result.start)
    XCTAssertTrue(result.end.isValid)
