[4.2] Perform common cleanup tasks after every test.

This is certainly a bit opinonated, but it serves quite well and prevents a lot of headache when executing a test suite fails but executing the tests one by one doesn't. Thoughts?