This test demonstrates non-collapsing margins by alternating text with paragraphs:

This is a paragraph

Some text

This is a paragraph

Some text