Adding test for refactored processResults
Refactoring processResults
Displaying reports properly after refactoring