fix bug, the logic of transforming EmailAddress object to string is incorrect
fix it and add the test