fix job.contentType and fileExtension not always set
add test for denied ECs