Clean manual tests by formatting the HTML and making it valid