Add tests when IMAP protocol fail
Change README sections order
Clean up imapcli shell script