Tests for Image creation.