Empty body caused an error because the content-type string was empty

Fixed that ContentType of Text/Html view can be empty when no body has been sent with the e-mail message. When this happens, I now create an empty ContentType instead of putting the empty ContentType-string into the constructor. This caused an exception earlier.

Also added unit test.