Clean up tests and remove remaining elements from the DOM.