Fix tests for captchacontroller