Added Client::updateDocument tests