added tets for email downcase check, improved regexp