tests: Added test for IMAP SEARCH command