Add tests for saving email addresses