Unit tests: added folder connection test, implemented no-messageSize logic

Added folder connection test, implemented no-messageSize logic (message.size is available only for envelope).
Also some refactroing - now you set your expected number of messages for folder in
const int kExpectedFolderMessagesCount
.. and assert shows expected and current values