Tested uploading functionality