Test the captcha api controller