Add test for downcase emails and reformat before_save in user model