Added unit test.

Checks that the "mailto:" email is correctly encoded.