     func testSearch() throws {
         let view = AnyView(NavigationView {
             NavigationLink(
-                destination: Text("Screen 1")) { Text("GoTo 1") }
-            NavigationLink(
-                destination: Text("Screen 2")) { Text("GoTo 2") }
+                destination: TestView(parameter: "Screen 1")) { Text("GoTo 1") }
+            NavigationLink(
+                destination: TestView(parameter: "Screen 2")) { Text("GoTo 2") }
         })
         XCTAssertEqual(try view.inspect().find(ViewType.NavigationLink.self).pathToRoot,
                        "anyView().navigationView().navigationLink(0)")

    
    var body: some View {
        NavigationView {
            NavigationLink(destination: Text("Screen 1"), tag: tag1,
                           selection: self.$state.selection) { Text("GoTo 1") }
            NavigationLink(destination: Text("Screen 2"), tag: tag2,
                           selection: self.$state.selection) { Text("GoTo 2") }
        }
    }

    
    func testEnclosedView() throws {
        let view = NavigationLink(
            destination: TestView(parameter: "Screen 1")) { Text("GoTo 1") }
        let nextView = try view.inspect().navigationLink().view(TestView.self).actualView()
        XCTAssertEqual(nextView.parameter, "Screen 1")
    }
    
    func testLabelView() throws {
        let view = NavigationLink(
            destination: TestView(parameter: "Screen 1")) { Text("GoTo 1") }
        let text = try view.inspect().navigationLink().labelView().text().string()
        XCTAssertEqual(text, "GoTo 1")
    }
    
    func testResetsModifiers() throws {
        let view = NavigationLink(
            destination: TestView(parameter: "Screen 1")) { Text("GoTo 1") }.padding()
        let sut1 = try view.inspect().navigationLink().view((TestView.self))
        XCTAssertEqual(sut1.content.medium.viewModifiers.count, 0)
        let sut2 = try view.inspect().navigationLink().labelView().text()
        XCTAssertEqual(sut2.content.medium.viewModifiers.count, 0)
