test for validator with 2 parameters added