clean directories and add captcha tests