diff --git a/test/material/fluidmatrixinteractions/2p/testmateriallawfunctions.hh b/test/material/fluidmatrixinteractions/2p/testmateriallawfunctions.hh
index 79bb27d60f1e6404fdf44b1c61ee2740a3079344..f6e893348df9305b23c885448460ec0e280380ca 100644
--- a/test/material/fluidmatrixinteractions/2p/testmateriallawfunctions.hh
+++ b/test/material/fluidmatrixinteractions/2p/testmateriallawfunctions.hh
@@ -25,8 +25,9 @@
 #ifndef DUMUX_TEST_MATERIALLAW_FUNCTIONS_HH
 #define DUMUX_TEST_MATERIALLAW_FUNCTIONS_HH
 
-#include <dune/common/float_cmp.hh>
+#include <iomanip>
 
+#include <dune/common/float_cmp.hh>
 #include <dumux/common/math.hh>
 #include <dumux/common/numericdifferentiation.hh>
 
diff --git a/test/porousmediumflow/tracer/multiphase/fluidsystem.hh b/test/porousmediumflow/tracer/multiphase/fluidsystem.hh
index 618bd958c09917093a35c15c65241cbb26fc4e43..f2ef90e2cc90818f040c45c5e14656fd44440358 100644
--- a/test/porousmediumflow/tracer/multiphase/fluidsystem.hh
+++ b/test/porousmediumflow/tracer/multiphase/fluidsystem.hh
@@ -25,6 +25,7 @@
 #ifndef DUMUX_TRACER_MULTIPHASE_TEST_FLUIDSYSTEM_HH
 #define DUMUX_TRACER_MULTIPHASE_TEST_FLUIDSYSTEM_HH
 
+#include <dumux/common/parameters.hh>
 #include <dumux/material/fluidsystems/base.hh>
 
 namespace Dumux::FluidSystems {