add test on required_validator field