diff --git a/beat/core/test/prefix/algorithms/user/integers_crash/1.py b/beat/core/test/prefix/algorithms/user/integers_crash/1.py
index bec1160e777e8b957341e054c47d473a71b89875..c27c3d1ad74208afb013bd2d0bfb83813f6f15cb 100644
--- a/beat/core/test/prefix/algorithms/user/integers_crash/1.py
+++ b/beat/core/test/prefix/algorithms/user/integers_crash/1.py
@@ -34,6 +34,9 @@
 ###################################################################################
 
 
+# flake8: noqa code must trigger a crash
+
+
 class Algorithm:
     def process(self, inputs, outputs):
         a = b
diff --git a/beat/core/test/prefix/algorithms/user/integers_echo_error/1.py b/beat/core/test/prefix/algorithms/user/integers_echo_error/1.py
index b467d5c3ed4be940ff1430dbd9572e5721a6d12f..baff87991f15479ce81e49bd379b29e87dc9c898 100644
--- a/beat/core/test/prefix/algorithms/user/integers_echo_error/1.py
+++ b/beat/core/test/prefix/algorithms/user/integers_echo_error/1.py
@@ -34,6 +34,9 @@
 ###################################################################################
 
 
+# flake8: noqa
+
+
 class Algorithm:
     def process(self, inputs, outputs):
         error  # this error is here on testing purposes
diff --git a/beat/core/test/prefix/algorithms/user/syntax_error/1.py b/beat/core/test/prefix/algorithms/user/syntax_error/1.py
index d8e3892a67f94fe967db8bf44a97e0077e3119c8..336f195b684f8a6ba71a01977410a708097754a5 100644
--- a/beat/core/test/prefix/algorithms/user/syntax_error/1.py
+++ b/beat/core/test/prefix/algorithms/user/syntax_error/1.py
@@ -34,7 +34,9 @@
 ###################################################################################
 
 
+# flake8: noqa
 # The following line will produce a SyntaxError
+
 class Algorithm;
 
     def process(self, inputs, outputs):
diff --git a/beat/core/test/prefix/databases/invalid/1.py b/beat/core/test/prefix/databases/invalid/1.py
index 5251376661c58f2e25a1204be2d7c8cc4b4ffb16..89e5e351ca72efe044ccebc4fed4f7f288031276 100644
--- a/beat/core/test/prefix/databases/invalid/1.py
+++ b/beat/core/test/prefix/databases/invalid/1.py
@@ -34,5 +34,8 @@
 ###################################################################################
 
 
+# flake8: noqa
+
 class View; # <-- syntax error!
-    def next(self): return True
+    def next(self):
+        return True