Refactored test report visualization.