Removed useless toString implementation, as it's already defined in the base trait.
Added failure case tests for MimeType parsing.
Added failure case tests for EncodingFormat.