diff --git a/source/simulation2/components/tests/test_CinemaManager.h b/source/simulation2/components/tests/test_CinemaManager.h
index 7f65a77bc3..b2f7316166 100644
--- a/source/simulation2/components/tests/test_CinemaManager.h
+++ b/source/simulation2/components/tests/test_CinemaManager.h
@@ -1,4 +1,4 @@
-/* Copyright (C) 2024 Wildfire Games.
+/* Copyright (C) 2025 Wildfire Games.
* This file is part of 0 A.D.
*
* 0 A.D. is free software: you can redistribute it and/or modify
@@ -15,9 +15,24 @@
* along with 0 A.D. If not, see .
*/
-#include "simulation2/system/ComponentTest.h"
+#include "lib/self_test.h"
+#include "maths/Fixed.h"
+#include "maths/FixedVector3D.h"
+#include "maths/NUSpline.h"
+#include "ps/CStr.h"
+#include "ps/XML/Xeromyces.h"
+#include "scriptinterface/ScriptInterface.h"
+#include "simulation2/MessageTypes.h"
#include "simulation2/components/ICmpCinemaManager.h"
+#include "simulation2/helpers/CinemaPath.h"
+#include "simulation2/system/Component.h"
+#include "simulation2/system/ComponentTest.h"
+#include "simulation2/system/Entity.h"
+
+#include
+#include
+#include
class TestCmpCinemaManager : public CxxTest::TestSuite
{
diff --git a/source/simulation2/components/tests/test_CommandQueue.h b/source/simulation2/components/tests/test_CommandQueue.h
index 45538f34bc..2cc640b54d 100644
--- a/source/simulation2/components/tests/test_CommandQueue.h
+++ b/source/simulation2/components/tests/test_CommandQueue.h
@@ -1,4 +1,4 @@
-/* Copyright (C) 2024 Wildfire Games.
+/* Copyright (C) 2025 Wildfire Games.
* This file is part of 0 A.D.
*
* 0 A.D. is free software: you can redistribute it and/or modify
@@ -15,9 +15,23 @@
* along with 0 A.D. If not, see .
*/
-#include "simulation2/system/ComponentTest.h"
+#include "lib/self_test.h"
+#include "ps/XML/Xeromyces.h"
+#include "scriptinterface/ScriptInterface.h"
+#include "scriptinterface/ScriptRequest.h"
#include "simulation2/components/ICmpCommandQueue.h"
+#include "simulation2/helpers/SimulationCommand.h"
+#include "simulation2/system/Component.h"
+#include "simulation2/system/ComponentTest.h"
+#include "simulation2/system/Entity.h"
+
+#include
+#include
+#include
+#include
+#include
+#include
class TestCmpCommandQueue : public CxxTest::TestSuite
{
diff --git a/source/simulation2/components/tests/test_HierPathfinder.h b/source/simulation2/components/tests/test_HierPathfinder.h
index 593d0d4071..cfccfddc7f 100644
--- a/source/simulation2/components/tests/test_HierPathfinder.h
+++ b/source/simulation2/components/tests/test_HierPathfinder.h
@@ -1,4 +1,4 @@
-/* Copyright (C) 2020 Wildfire Games.
+/* Copyright (C) 2025 Wildfire Games.
* This file is part of 0 A.D.
*
* 0 A.D. is free software: you can redistribute it and/or modify
@@ -15,12 +15,23 @@
* along with 0 A.D. If not, see .
*/
-#include "simulation2/system/ComponentTest.h"
+#include "lib/self_test.h"
+
+#include "lib/types.h"
+#include "maths/Fixed.h"
+#include "simulation2/helpers/Grid.h"
+#include "simulation2/helpers/PathGoal.h"
+#include "simulation2/helpers/Pathfinding.h"
+
+#include
+#include
+#include