Add unit tests for markdown images. See also #563.