MDL-33955 add file download and curl unit tests