fixed filepload issue and added fileupload scenario in tests