Added interceptor and integration test for end-to-end testing