Check existence of imap_open in unit test.