diff --git a/Trajectories/Tests/tests.json b/Trajectories/Tests/tests.json
index 6d2d68f8fb143259f7253f678870c06802ed6df3..215772ad8a202430bebf3998ee84eaf51851883f 100644
--- a/Trajectories/Tests/tests.json
+++ b/Trajectories/Tests/tests.json
@@ -94,6 +94,28 @@
             "$tests_old_dir/Cost_function_no_debug/segments_cost_functions.graphml"
 	]
     },
+    "Eurec4A_segments":
+    {
+	"description":
+	"I want a larger case than Greece to test script cost_function.py.",
+	"command":
+	[
+	    "$src_dir/Trajectories/segments.py",
+	    "$my_data_dir/Eurec4A/Graph_anti/edgelist.csv", "segments.graphml"
+	]
+    },
+    "Eurec4A_cost":
+    {
+	"description":
+	"I want a larger case than Greece to test script cost_function.py.",
+	"command":
+	[
+	    "$src_dir/Trajectories/cost_function.py",
+	    "$my_data_dir/Eurec4A/SHPC", "Anticyclones",
+	    "$tests_old_dir/Eurec4A_segments/segments.graphml",
+	    "segments_cost.graphml"
+	]
+    },
     "Draw_segments":
     {
 	"command":