Test when removing duplicite AppCOntext