Added ImapClient unit test infrastructure and some initial tests