Randomise default name of output files
When tests run in parallel, there are sometime race conditions when two tests write to the same file. This MR works around the problem by defining random default output file names, picked up in the cases when explicit names are not set in the job or test.