image write tested