diff --git a/Makefile b/Makefile
index d9ba4649b301d08fe470cc0bc098f6716b82fd7a..d5668f46d08478c9a9636cdac73a502d2ffb8f60 100644
--- a/Makefile
+++ b/Makefile
@@ -46,7 +46,7 @@ plugin:
 test: $(TESTD)/test2
 
 $(TESTD)/%: $(TESTSRCD)/%.c
-	$(CC) $(FLAGS) $(PLUGIN_FLAGS) $^ -o $@
+	$(CC) $(TEST_FLAGS) $(PLUGIN_FLAGS) $^ -o $@
 
 $(OBJD)/%.o: $(SRCD)/%.cpp
 	$(CXX) $(FLAGS) $(PLUGIN_INCLUDE) -c $^ -o $@
diff --git a/src/pass_mpi_collective.cpp b/src/pass_mpi_collective.cpp
index da75c71b833abbe3b05fec92bdd8c2bd47e8c281..ed2a349dccd25430713fa76e7b2fcf1f7bed2581 100644
--- a/src/pass_mpi_collective.cpp
+++ b/src/pass_mpi_collective.cpp
@@ -152,6 +152,8 @@ void pass_mpi_collective::split_blocks(function *fun)
 			if (nb_collective >= 2){
 				split_block(bb, prev_stmt);
 				split = true;
+				//The inner for doesn't stop naturally, whereas the FOR_EACH_BB_FN 
+				//*will* iterate on the new bb we just split. hence the split=true
 			}
 		}
 	}