Test if image paths are handled correctly