Add unit-tests for attributes in mardown elements.

Test paragraphs, list items and img attributes.