Added some tests for IMAP THREAD parser