ImagesServiceUploadTest: add an assert to help debugging issues on Jenkins