Restore test for the image optimizer.