Unit Test refactoring.
Corrects a bug when email has unicode chars.