test to upload the directory