enhanced the email regex and updated the before_save email downcase logic
added additional tests