delete listdir() in test_upload_dirall()
removed old s3 api
fixed some typos
fixed some typos