Format test script output string a bit better.