Fixing ProviderLocator test