Improve test coverage for the email class.