         self.waitForExpectations(withTimeout: 0, handler: nil)
     }
     
-    func asyncTest(context:ExecutionContextType) {
-        RunLoop.current
+    func asyncTest(context:ExecutionContextType, runRunLoop: Bool = false) {
         let expectation = self.expectation(withDescription: "OK ASYNC")
         
         context.async {

    
    func testMain() {
        let context:ExecutionContextType = DefaultExecutionContext.main
        
        syncTest(context)
        asyncTest(context)
        afterTest(context)
        //afterTestAdvanced - no it will not work here
        
        //We need run loop on Linux
        #if os(Linux)
            (RunLoop.main as! RunnableRunLoopType).run(.In(timeout: 2))
        #endif
        
    }
    
    func testCustomOnGlobal() {

    
    func testCustomOnMain() {
        let context = executionContext(main.execute)
        #if os(Linux)
            let runRunLoop = true
        #else
            let runRunLoop = false
        #endif
        
//        syncTest(context)
        asyncTest(context, runRunLoop: runRunLoop)
        afterTest(context, runRunLoop: runRunLoop)
        //afterTestAdvanced - no it will not work here
    }
    
    func testCustomSimple() {
