Added Unit Tests to test connection functionality of JavaMailImapAdapter
Added more Unit Tests to test connection functionality of JavaMailImapAdapter