Clean up DOM elements after their tests