diff --git a/Trajectories/Tests/tests.json b/Trajectories/Tests/tests.json
index 355353b3b67fd67e2538cb5a936fd02a505d6286..f9c397552d6d677d4239afcc4d4133cb5243cc82 100644
--- a/Trajectories/Tests/tests.json
+++ b/Trajectories/Tests/tests.json
@@ -144,5 +144,25 @@
 	    "$src_dir/Trajectories/Tests/example_2.graphml"
 	],
 	"description": "A toy case to test the algorithm in trajectories.py, specifically to test the order in which edges are processed."
+    },
+    "Extract_component":
+    {
+	"command":
+	[
+	    "$src_dir/Trajectories/extract_component.py",
+	    "$my_data_dir/Eurec4A/Graph_anti_c19e69d/segments_cost.gt",
+	    "1980897", "component_1980897.graphml"
+	]
+    },
+    "Draw_component":
+    {
+	"description": "draw_segments.py from a graph containing an extracted component.",
+	"command":
+	[
+            "$src_dir/Trajectories/draw_segments.py",
+            "$tests_old_dir/Extract_component/component_1980897.graphml",
+            "component_1980897.gv",
+            "-t", "$my_data_dir/Eurec4A/Graph_anti_c19e69d/traj_segm.json"
+	]
     }
 }