better exception message
remove static stuff from captcha class, added tests