Improve HTML equivalence testing to help debugging tests