diff --git a/tests/external_function/first_and_2nd_deriv_given.mod b/tests/external_function/first_and_2nd_deriv_given.mod
index 5c9623560ca5cbce8752d444aa20a33a877ec4a1..f62110442842ae49ef4e062237dc4abaa05433f6 100644
--- a/tests/external_function/first_and_2nd_deriv_given.mod
+++ b/tests/external_function/first_and_2nd_deriv_given.mod
@@ -52,6 +52,18 @@ end
 if max(max(abs(L.oo_.dr.ghx - oo_.dr.ghx))) > 1e-12
   error('Failure in external function')
 end
+if max(max(abs(L.oo_.dr.ghxu - oo_.dr.ghxu))) > 1e-12
+  error('Failure in external function')
+end
+if max(max(abs(L.oo_.dr.ghxx - oo_.dr.ghxx))) > 1e-12
+  error('Failure in external function')
+end
+if max(max(abs(L.oo_.dr.ghuu - oo_.dr.ghuu))) > 1e-12
+  error('Failure in external function')
+end
+if max(max(abs(L.oo_.dr.ghs2 - oo_.dr.ghs2))) > 1e-12
+  error('Failure in external function')
+end
 if max(max(abs(L.oo_.var - oo_.var))) > 1e-12
   error('Failure in external function')
 end
diff --git a/tests/external_function/first_and_2nd_deriv_given_dll.mod b/tests/external_function/first_and_2nd_deriv_given_dll.mod
index 40ff04e6b3f9af6660996e279e9da7386589ee71..ac42623c6fc54980704f75ed7c1d974cedee9991 100644
--- a/tests/external_function/first_and_2nd_deriv_given_dll.mod
+++ b/tests/external_function/first_and_2nd_deriv_given_dll.mod
@@ -52,6 +52,18 @@ end
 if max(max(abs(L.oo_.dr.ghx - oo_.dr.ghx))) > 1e-12
   error('Failure in external function')
 end
+if max(max(abs(L.oo_.dr.ghxu - oo_.dr.ghxu))) > 1e-12
+  error('Failure in external function')
+end
+if max(max(abs(L.oo_.dr.ghxx - oo_.dr.ghxx))) > 1e-12
+  error('Failure in external function')
+end
+if max(max(abs(L.oo_.dr.ghuu - oo_.dr.ghuu))) > 1e-12
+  error('Failure in external function')
+end
+if max(max(abs(L.oo_.dr.ghs2 - oo_.dr.ghs2))) > 1e-12
+  error('Failure in external function')
+end
 if max(max(abs(L.oo_.var - oo_.var))) > 1e-12
   error('Failure in external function')
 end
diff --git a/tests/external_function/first_and_2nd_deriv_given_dll_namespace.mod b/tests/external_function/first_and_2nd_deriv_given_dll_namespace.mod
index bfeb03f206079a5f9a832697a4f1ebbe079835c7..ca55aea5a94e37f97478a662e4d18c025ccdec15 100644
--- a/tests/external_function/first_and_2nd_deriv_given_dll_namespace.mod
+++ b/tests/external_function/first_and_2nd_deriv_given_dll_namespace.mod
@@ -54,6 +54,18 @@ end
 if max(max(abs(L.oo_.dr.ghx - oo_.dr.ghx))) > 1e-12
   error('Failure in external function')
 end
+if max(max(abs(L.oo_.dr.ghxu - oo_.dr.ghxu))) > 1e-12
+  error('Failure in external function')
+end
+if max(max(abs(L.oo_.dr.ghxx - oo_.dr.ghxx))) > 1e-12
+  error('Failure in external function')
+end
+if max(max(abs(L.oo_.dr.ghuu - oo_.dr.ghuu))) > 1e-12
+  error('Failure in external function')
+end
+if max(max(abs(L.oo_.dr.ghs2 - oo_.dr.ghs2))) > 1e-12
+  error('Failure in external function')
+end
 if max(max(abs(L.oo_.var - oo_.var))) > 1e-12
   error('Failure in external function')
 end
diff --git a/tests/external_function/first_and_2nd_deriv_given_namespace.mod b/tests/external_function/first_and_2nd_deriv_given_namespace.mod
index dc116d44a74ca21543a575ec39fef17abbb56c78..3729a17d66bcc037dfefa3505db676e30c8c4ac8 100644
--- a/tests/external_function/first_and_2nd_deriv_given_namespace.mod
+++ b/tests/external_function/first_and_2nd_deriv_given_namespace.mod
@@ -54,6 +54,18 @@ end
 if max(max(abs(L.oo_.dr.ghx - oo_.dr.ghx))) > 1e-12
   error('Failure in external function')
 end
+if max(max(abs(L.oo_.dr.ghxu - oo_.dr.ghxu))) > 1e-12
+  error('Failure in external function')
+end
+if max(max(abs(L.oo_.dr.ghxx - oo_.dr.ghxx))) > 1e-12
+  error('Failure in external function')
+end
+if max(max(abs(L.oo_.dr.ghuu - oo_.dr.ghuu))) > 1e-12
+  error('Failure in external function')
+end
+if max(max(abs(L.oo_.dr.ghs2 - oo_.dr.ghs2))) > 1e-12
+  error('Failure in external function')
+end
 if max(max(abs(L.oo_.var - oo_.var))) > 1e-12
   error('Failure in external function')
 end
diff --git a/tests/external_function/first_deriv_given.mod b/tests/external_function/first_deriv_given.mod
index 5e8e7b172c76a4896fcae6b8da01f0fad3fe49bc..ef7ba0ab4fab68ddc4e96cea083c68ed410ffa57 100644
--- a/tests/external_function/first_deriv_given.mod
+++ b/tests/external_function/first_deriv_given.mod
@@ -52,6 +52,18 @@ end
 if max(max(abs(L.oo_.dr.ghx - oo_.dr.ghx))) > 1e-12
   error('Failure in external function')
 end
+if max(max(abs(L.oo_.dr.ghxu - oo_.dr.ghxu))) > 1e-4
+  error('Failure in external function')
+end
+if max(max(abs(L.oo_.dr.ghxx - oo_.dr.ghxx))) > 1e-3
+  error('Failure in external function')
+end
+if max(max(abs(L.oo_.dr.ghuu - oo_.dr.ghuu))) > 1e-5
+  error('Failure in external function')
+end
+if max(max(abs(L.oo_.dr.ghs2 - oo_.dr.ghs2))) > 1e-9
+  error('Failure in external function')
+end
 if max(max(abs(L.oo_.var - oo_.var))) > 1e-12
   error('Failure in external function')
 end
diff --git a/tests/external_function/first_deriv_given_dll.mod b/tests/external_function/first_deriv_given_dll.mod
index 47db02d2d947493f8e5516cd3fcb5a12b7a8fcd6..cfaf4ae519635b4a9b39a88ffc63189b34c57050 100644
--- a/tests/external_function/first_deriv_given_dll.mod
+++ b/tests/external_function/first_deriv_given_dll.mod
@@ -52,6 +52,18 @@ end
 if max(max(abs(L.oo_.dr.ghx - oo_.dr.ghx))) > 1e-12
   error('Failure in external function')
 end
+if max(max(abs(L.oo_.dr.ghxu - oo_.dr.ghxu))) > 1e-4
+  error('Failure in external function')
+end
+if max(max(abs(L.oo_.dr.ghxx - oo_.dr.ghxx))) > 1e-3
+  error('Failure in external function')
+end
+if max(max(abs(L.oo_.dr.ghuu - oo_.dr.ghuu))) > 1e-5
+  error('Failure in external function')
+end
+if max(max(abs(L.oo_.dr.ghs2 - oo_.dr.ghs2))) > 1e-9
+  error('Failure in external function')
+end
 if max(max(abs(L.oo_.var - oo_.var))) > 1e-12
   error('Failure in external function')
 end
diff --git a/tests/external_function/no_deriv_given.mod b/tests/external_function/no_deriv_given.mod
index 164e152c5aa6999e7c3da5b75c0bab018c0914ff..c75cd10c153cb3a7328f83a8bd54ee4f85d03b56 100644
--- a/tests/external_function/no_deriv_given.mod
+++ b/tests/external_function/no_deriv_given.mod
@@ -52,6 +52,18 @@ end
 if max(max(abs(L.oo_.dr.ghx - oo_.dr.ghx))) > 1e-9
   error('Failure in external function')
 end
+if max(max(abs(L.oo_.dr.ghxu - oo_.dr.ghxu))) > 1e-4
+  error('Failure in external function')
+end
+if max(max(abs(L.oo_.dr.ghxx - oo_.dr.ghxx))) > 1e-3
+  error('Failure in external function')
+end
+if max(max(abs(L.oo_.dr.ghuu - oo_.dr.ghuu))) > 1e-5
+  error('Failure in external function')
+end
+if max(max(abs(L.oo_.dr.ghs2 - oo_.dr.ghs2))) > 1e-9
+  error('Failure in external function')
+end
 if max(max(abs(L.oo_.var - oo_.var))) > 1e-12
   error('Failure in external function')
 end
diff --git a/tests/external_function/no_deriv_given_dll.mod b/tests/external_function/no_deriv_given_dll.mod
index 45038573283ad1458df5d5f180b36d8858d89d11..20741684721e44f63acff4f118462033fcb77631 100644
--- a/tests/external_function/no_deriv_given_dll.mod
+++ b/tests/external_function/no_deriv_given_dll.mod
@@ -52,6 +52,18 @@ end
 if max(max(abs(L.oo_.dr.ghx - oo_.dr.ghx))) > 1e-9
   error('Failure in external function')
 end
+if max(max(abs(L.oo_.dr.ghxu - oo_.dr.ghxu))) > 1e-4
+  error('Failure in external function')
+end
+if max(max(abs(L.oo_.dr.ghxx - oo_.dr.ghxx))) > 1e-3
+  error('Failure in external function')
+end
+if max(max(abs(L.oo_.dr.ghuu - oo_.dr.ghuu))) > 1e-5
+  error('Failure in external function')
+end
+if max(max(abs(L.oo_.dr.ghs2 - oo_.dr.ghs2))) > 1e-9
+  error('Failure in external function')
+end
 if max(max(abs(L.oo_.var - oo_.var))) > 1e-12
   error('Failure in external function')
 end