Issue #3175401 by pameeela, ranjith_kumar_k_u, hgoto: Update testLimitValidationErrors() to testValidationErrorMessagesSortedWithWeight()