Consolidated assertEquals methods