Adds unit tests for CloudApiClient::taskInfo