Update imap tests