test dir upload