added test for validator events