change autotest logic

use build-in file upload is not required