GUI-365: Update unit test check for required fields to handle both InputRequired and DataRequired validators.