Feature/is 2

Implemented unit tests for the main class IMAPAuthenticator.