refactored test output to be more readable.