Added tests for roundtrip and register #4

Closed
dm wants to merge 3 commits from dm/email into email

3 Commits