Index: /tests/SystemQueue-tests.cc
===================================================================
--- /tests/SystemQueue-tests.cc	(revision 12771)
+++ /tests/SystemQueue-tests.cc	(revision 12772)
@@ -357,4 +357,6 @@
     SystemQueue& sysq = SystemQueue::instance();
     
+    EXPECT_FALSE( sysq.am_I_in_the_SysQ_thread() );
+    
     // start
     sysq.run();
@@ -367,8 +369,11 @@
     );
     
-    wait_for_checkmark(MAX_WAIT);
-    
-    sysq.cancel();
-    
+    EXPECT_FALSE( sysq.am_I_in_the_SysQ_thread() );
+    
+    wait_for_checkmark(MAX_WAIT);
+    
+    sysq.cancel();
+    
+    EXPECT_FALSE( sysq.am_I_in_the_SysQ_thread() );
     EXPECT_TRUE( checkmark ) << "WARNING! One of the test functions was not called at all!";
 }
