Fix PermissionProviderTest