Fix the test output files not found issue.