added unit test for migration of simple string email address storage
format
implemented data migration for new email address storage format