applet-removal test: make sure destroy is called