Add test condition to prevent printing empty string msg, most handy w/ image-only urls