Cleans up tests.