Add captcha form test

Change-Id: I7817a2de1d480646d0380f15d99a900da0f836f0