[Client] - Issue #49 - added functional tests for client
[Client] - Issue #49 - added unit tests for client and tweaked functional tests a bit