added setURLInterceptor and removeURLInterceptor for configuration overrides

added tests and did more indepth testing