fixing test script terminal output formatting