fixup! Certificate testCase fix error on mac.
Merge branch 'janis_work'
UPD: Refactored faulty internal mail add test