Implement test for registering interceptors.