Test upload script