add test for inline images