fixed bug in fileupload pate test