test for uploading files