Testing channel attribute dump_image actually dumps images to filedisk.

FileFrameWriter desctructor  flushes image now, it was causing an abort before.

Testing that an image is actually dumped to filedisk.