diff --git a/tests/lbm/SuViscoelasticityTest.cpp b/tests/lbm/SuViscoelasticityTest.cpp
index f305761eb8fd681d9fbfeb1c7d8d5b3d7c9fce71..f9b9a3a5a39499a64588b5b7cec7886b0efd611d 100644
--- a/tests/lbm/SuViscoelasticityTest.cpp
+++ b/tests/lbm/SuViscoelasticityTest.cpp
@@ -229,14 +229,17 @@ private:
    real_t L_, H_, uMax_, uPrev_, uCurr_, uExpected_, uSteady_;
 };
 
+} // namespace walberla
 
 //////////
 // Main //
 //////////
 
 int main(int argc, char ** argv ){
+   using namespace walberla;
 
-   walberla::Environment env( argc, argv );
+   debug::enterTestMode();
+   Environment env( argc, argv );
 
    // read parameter
    shared_ptr<StructuredBlockForest> blocks = blockforest::createUniformBlockGridFromConfig( env.config() );
@@ -315,4 +318,4 @@ int main(int argc, char ** argv ){
 
 }
 
-}
+