Refactor for unit testing client dir
Added support for message xep-0085
Added tests for receivemessagetask