refactored test output for legibility