Add unit test for images in examples.

(Note, this does not test fonts)