Fixing potential colliding output files "out.txt" when runnning ctest -j4

The output name "out.txt" is used in many tests.  If they are run at the same time, tests will fail randomly.