Improved UnitTest. The html body in attachment file-2 should not be included, when Frontend::RichText is disabled, because of bug#9350.