ProviderTests updated to suit async code base.