change output to be printed in single line
shorten output
remove newline from formatted time output
add some whitespace in the end to avoid partial line overwrite, revert test to what it was