Add a thread-safe test synchronization context which can be used to enable scenarios like TaskScheduler.FromCurrentSynchronizationContext(), or SynchronizationContext.Current.