decoder and image conversion tests