Add test for changing a remotely loaded image to a local image on the fly.