Added option to download test results to file