replaced listdir() with one line code  in test_upload_dirall()
fixed some typos