test scope not removed