diff --git a/tests/stack/testDummyStack.cpp b/tests/stack/testDummyStack.cpp
index d68b0c093f0ffb6e8ce5a2a5ce57bc7aeea00544..333517d450d0b89b4886a4c63f6f035dec17eb5e 100644
--- a/tests/stack/testDummyStack.cpp
+++ b/tests/stack/testDummyStack.cpp
@@ -17,7 +17,6 @@ using namespace corsika;
 TEST_CASE("DummyStack", "[stack]") {
 
   logging::set_level(logging::level::info);
-  corsika_logger->set_pattern("[%n:%^%-8l%$] custom pattern: %v");
 
   using TestStack = dummy_stack::DummyStack;
 
diff --git a/tests/stack/testHistoryView.cpp b/tests/stack/testHistoryView.cpp
index 198e98993123c8d0449ac1ba3d07013e334146b6..4b898560a775e8c0cd651c81b8cc6a14861ad85e 100644
--- a/tests/stack/testHistoryView.cpp
+++ b/tests/stack/testHistoryView.cpp
@@ -53,6 +53,8 @@ TEST_CASE("HistoryStackExtensionView", "[stack]") {
 
   logging::set_level(logging::level::info);
 
+  CoordinateSystemPtr const& dummyCS = get_root_CoordinateSystem();
+
   // in this test we only use one singel stack !
   const dummy_stack::NoData noData;
   TestStack stack;