Replaced MakeMultipartRequest by PostFile
Added some tests to upload sample