test output cleanup