improved image tests.