fixed sonar violations about unused code and added test for ExperimentInterceptor