Added rudimentary image file format testing.