diff --git a/tests/test27cells.c b/tests/test27cells.c
index 7577637dae1fbf85e901d81f1051609f6e3ceb79..b1c2dd7ad607861eeb82f3f9c35b70df0dde409c 100644
--- a/tests/test27cells.c
+++ b/tests/test27cells.c
@@ -37,11 +37,6 @@
 #define DOSELF1_NAME "runner_doself1_density_vec"
 #endif
 
-#if defined(WITH_VECTORIZATION) && defined(DOSELF1_VEC_2)
-#define DOSELF1 runner_doself1_density_vec_2
-#define DOSELF1_NAME "runner_doself1_density_vec_2"
-#endif
-
 #ifndef DOSELF1
 #define DOSELF1 runner_doself1_density
 #define DOSELF1_NAME "runner_doself1_density"
@@ -52,6 +47,11 @@
 #define DOPAIR1_NAME "runner_dopair1_density_vec"
 #endif
 
+#if defined(WITH_VECTORIZATION) && defined(DOPAIR1_VEC_2)
+#define DOPAIR1 runner_dopair1_density_vec_2
+#define DOPAIR1_NAME "runner_dopair1_density_vec_2"
+#endif
+
 #if defined(WITH_VECTORIZATION) && defined(DOPAIR1_AUTO_VEC)
 #define DOPAIR1 runner_dopair1_density_auto_vec
 #define DOPAIR1_NAME "runner_dopair1_density_auto_vec"
@@ -310,6 +310,7 @@ int check_results(struct part *serial_parts, struct part *vec_parts, int count,
 /* Just a forward declaration... */
 void runner_dopair1_density(struct runner *r, struct cell *ci, struct cell *cj);
 void runner_dopair1_density_vec(struct runner *r, struct cell *ci, struct cell *cj);
+void runner_dopair1_density_vec_2(struct runner *r, struct cell *ci, struct cell *cj);
 void runner_dopair1_density_auto_vec(struct runner *r, struct cell *ci, struct cell *cj);
 void runner_doself1_density(struct runner *r, struct cell *ci);
 void runner_doself1_density_vec(struct runner *r, struct cell *ci);