     let waitara = (service.visits?.first { $0.stop.name!.hasPrefix("Waitara") })!
     
     let builder = WaypointParasBuilder()
-    let paras = builder.build(moving: trainSegment, to: waitara, atStart: true)
+    let paras = try builder.build(moving: trainSegment, to: waitara, atStart: true)
     XCTAssertNotNil(paras)
     
     let input = try decoder.decode(WaypointInput.self, withJSONObject: paras)

    let asquith = (service.visits?.first { $0.stop.name!.contains("Asquith") })!
    
    let builder = WaypointParasBuilder()
    let paras = builder.build(moving: trainSegment, to: asquith, atStart: false)
    XCTAssertNotNil(paras)
    
    let input = try decoder.decode(WaypointInput.self, withJSONObject: paras)

    let waitara = (service.visits?.first { $0.stop.name!.contains("Waitara") })!
    
    let builder = WaypointParasBuilder()
    let paras = try builder.build(moving: trainSegment, to: waitara, atStart: true)
    XCTAssertNotNil(paras)

    let input = try decoder.decode(WaypointInput.self, withJSONObject: paras)
