store test result to file