test for validator passing