added a test to check for downcasing of the email address and an alternate implementation of the before save callback for downcasing the email address