The template file tests now create their folder through a Scratch guard that removes it when the test ends, including when an assertion fails, as tests_folders.rs and tests_slideshow_export.rs do.