adding more validation rules with testcases