Refactored test reports in tests