added support for test interceptor