https://www.dotnetcodegeeks.com/2015/10/using-a-synchronizationcontext-in-unit-tests.html
Using a SynchronizationContext in unit tests