rewrite test result files