Fix more IMAP tests (just test_imap_mime.js left!)