#25591: improve imap tests.

Patch by Maciej Szulik.
2 files changed