In Jenkins run, Resource.DefaultSubscriptionName is set to null, so it does not make any difference as before.
When running in a local machine using 'UseCustom' test setting, we give Resource.DefaultSubscriptionName.
In this case, we set defaultSubscriptionName to that value.