save output of test-script to log file