Add test for inline images from CLI