added tests for Email