Add test for URL encoded image paths