test scene switch and leak.