                 [
                     ParentInfo(
                         parent: Parent(id: 1, name: "foo"),
-                        children: []),
-                    ParentInfo(
-                        parent: Parent(id: 2, name: "bar"),
+                        children: [
+                            Child(id: 1, parentId: 1, name: "fooA2"),
+                            Child(id: 2, parentId: 1, name: "fooB"),
+                    ]),
+                    ParentInfo(
+                        parent: Parent(id: 2, name: "bar"),
+                        children: [
+                            Child(id: 3, parentId: 2, name: "barA"),
+                    ]),
+                ],
+                [
+                    ParentInfo(
+                        parent: Parent(id: 1, name: "foo"),
+                        children: [
+                            Child(id: 1, parentId: 1, name: "fooA2"),
+                            Child(id: 2, parentId: 1, name: "fooB"),
+                    ]),
+                    ParentInfo(
+                        parent: Parent(id: 2, name: "bar"),
+                        children: [
+                            Child(id: 3, parentId: 2, name: "barA"),
+                    ]),
+                    ParentInfo(
+                        parent: Parent(id: 3, name: "baz"),
+                        children: [
+                            Child(id: 4, parentId: 3, name: "bazA"),
+                    ]),
+                ],
+                [
+                    ParentInfo(
+                        parent: Parent(id: 2, name: "bar"),
+                        children: []),
+                    ParentInfo(
+                        parent: Parent(id: 3, name: "baz"),
                         children: []),
                 ],
             ],
             setup: setup,
-            recordedUpdates: { db in
-                try db.execute(sql: "DELETE FROM child")
-        })
+            recordedUpdates: performDatabaseModifications)
     }
 }

                [
                    ParentInfo(
                        parent: Parent(id: 1, name: "foo"),
                        children: []),
                    ParentInfo(
                        parent: Parent(id: 2, name: "bar"),
                        children: []),
                ],
            ],
            setup: setup,
            recordedUpdates: { db in
                try db.execute(sql: "DELETE FROM child")
            })
        
        // The fundamental technique for removing duplicates of non-Equatable types
        try assertValueObservation(

                .removeDuplicates()
                .map { row in row.map(ParentInfo.init(row:)) },
            records: [
                nil,
                ParentInfo(
                    parent: Parent(id: 1, name: "foo"),
                    children: []),
                ParentInfo(
                    parent: Parent(id: 1, name: "foo"),
                    children: [
