             expectation.fulfill()
         }
         
-        wait(for:[expectation], timeout: 10, enforceOrder: true)
+        wait(for:[expectation], timeout: 5, enforceOrder: true)
     }
 }

        }
        
        input.asyncMapToDictionary(block: { (input, completion) in
            DispatchQueue.global(qos: .default).asyncAfter(deadline: .now() + .seconds(Int.random(in: 0 ... 3))) {
                completion(input, transform(input))
            }
        }, queue: DispatchQueue.main) { (output) in

            expectation.fulfill()
        }
        
        wait(for:[expectation], timeout: 5, enforceOrder: true)
    }
    
    
