fix captcha component tests