Fixed expected error messages validations.