Test support for image replacement