Test downloading an image