changed intercept to connect
we need a test for the connectInterceptor