__setitem__ working for writing an entire image at once
refactor of CME testing