Added a groupCasesByHtml method to the Test object