fixed upload/download tests