updated tests to remove the output files.