Add tests for imap_cli basic methods