SLING-5561 - Resource Resolver Factory should be deactivated before provider is removed. Add unit test