Added testUpdateUser() test.
HTTP PUT now uses CURLOPT_CUSTOMREQUEST to avoid creating a temporary file.