Create an image for the test.