Remove temporary files after succesfully running tests

When a test fails, it's useful to be able to dive into the test dir and look at the files directly. But with more and more test scenarios and each test dir taking up north of 14MB, space usage becomes a problem.

An easy win would be to keep around only files for tests that have failed and delete the rest.