diff --git a/Modules/ImageStatisticsUI/test/CMakeLists.txt b/Modules/ImageStatisticsUI/test/CMakeLists.txt
index 153cd81e2e..64bb54e3c6 100644
--- a/Modules/ImageStatisticsUI/test/CMakeLists.txt
+++ b/Modules/ImageStatisticsUI/test/CMakeLists.txt
@@ -1 +1,5 @@
 MITK_CREATE_MODULE_TESTS()
+
+mitkAddCustomModuleTest(QmitkImageStatisticsDataGeneratorTest QmitkImageStatisticsDataGeneratorTest
+  -platform minimal
+)
diff --git a/Modules/ImageStatisticsUI/test/files.cmake b/Modules/ImageStatisticsUI/test/files.cmake
index 36d9d98569..fcdd9e91ec 100644
--- a/Modules/ImageStatisticsUI/test/files.cmake
+++ b/Modules/ImageStatisticsUI/test/files.cmake
@@ -1,3 +1,6 @@
 set(MODULE_TESTS
+)
+
+set(MODULE_CUSTOM_TESTS
   QmitkImageStatisticsDataGeneratorTest.cpp
 )
diff --git a/Modules/QtWidgets/test/CMakeLists.txt b/Modules/QtWidgets/test/CMakeLists.txt
index b7ff9b62be..5d755505dd 100644
--- a/Modules/QtWidgets/test/CMakeLists.txt
+++ b/Modules/QtWidgets/test/CMakeLists.txt
@@ -1,9 +1,5 @@
 MITK_CREATE_MODULE_TESTS()
 
-if(UNIX AND NOT APPLE)
-  set(qt_platform -platform minimal)
-else()
-  unset(qt_platform)
-endif()
-
-mitkAddCustomModuleTest(QmitkAbstractNodeSelectionWidgetTest QmitkAbstractNodeSelectionWidgetTest ${qt_platform})
+mitkAddCustomModuleTest(QmitkAbstractNodeSelectionWidgetTest QmitkAbstractNodeSelectionWidgetTest
+  -platform minimal
+)
diff --git a/Modules/SegmentationUI/test/CMakeLists.txt b/Modules/SegmentationUI/test/CMakeLists.txt
index 153cd81e2e..606f64d24b 100644
--- a/Modules/SegmentationUI/test/CMakeLists.txt
+++ b/Modules/SegmentationUI/test/CMakeLists.txt
@@ -1 +1,5 @@
 MITK_CREATE_MODULE_TESTS()
+
+mitkAddCustomModuleTest(QmitkMultiLabelTreeModelTest QmitkMultiLabelTreeModelTest
+  -platform minimal
+)
diff --git a/Modules/SegmentationUI/test/files.cmake b/Modules/SegmentationUI/test/files.cmake
index f7a7e63e96..599115c047 100644
--- a/Modules/SegmentationUI/test/files.cmake
+++ b/Modules/SegmentationUI/test/files.cmake
@@ -1,3 +1,6 @@
 set(MODULE_TESTS
+)
+
+set(MODULE_CUSTOM_TESTS
   QmitkMultiLabelTreeModelTest.cpp
 )