Changed before_save, regex and added a test for mixed case emails