add interceptor tests