test email downcasing, refactor downcase

page 269