added some testing and reporting stuff to 4 all images file.