quick fix to get imap test running and not crashing