trying to debug test_imap on mac os x