Added test_upload.py to test uploading a file.