         }
         wait()
         
-        XCTAssert(eventDispatcher?.dataStore.count == 1)
-        
+        if #available(iOS 10.0, tvOS 10.0, *) {
+            XCTAssert(eventDispatcher?.dataStore.count == 1)
+        }
+        else {
+            XCTAssert(eventDispatcher?.dataStore.count == 0)
+        }
+
         eventDispatcher?.flushEvents()
         wait()
         

        }
        wait()
        
        XCTAssert(eventDispatcher?.dataStore.count == 1)
        
        eventDispatcher?.flushEvents()
        wait()
        

        }
        wait()
        
        if #available(iOS 10.0, tvOS 10.0, *) {
            XCTAssert(eventDispatcher?.dataStore.count == 1)
        }
        else {
            XCTAssert(eventDispatcher?.dataStore.count == 0)
        }

        eventDispatcher?.flushEvents()
        wait()
        
