Use mock to check for validator registration.