Bug 1111124 fixing a test-panel.js test to destroy the panel it creates