diff --git a/test/test_transaction.cpp b/test/test_transaction.cpp
index 72fb1a44df06fdb5b15e75cc15d37c28bb6b4c55..f24d7d554393186f857493964ff469369b299777 100644
--- a/test/test_transaction.cpp
+++ b/test/test_transaction.cpp
@@ -18,8 +18,6 @@
  * along with this program. If not, see <https://www.gnu.org/licenses/>.
  *
  */
-#include <iostream>
-#include <memory>                      // for unique_ptr, allocator, __shar...
 #include "caosdb/connection.h"         // for Connection, ConnectionManager
 #include "caosdb/entity.h"             // for Entity, Messages, Message
 #include "caosdb/message_code.h"       // for ENTITY_DOES_NOT_EXIST, Messag...
@@ -29,6 +27,7 @@
 #include "gtest/gtest-message.h"       // for Message
 #include "gtest/gtest-test-part.h"     // for TestPartResult, SuiteApiResolver
 #include "gtest/gtest_pred_impl.h"     // for Test, EXPECT_EQ, AssertionResult
+#include <memory>                      // for unique_ptr, allocator, __shar...
 
 namespace caosdb::transaction {
 using caosdb::entity::MessageCode;