Simple test for page-height="indefinite". The page-heights should correspond to the sum of the line-heights of the laid out blocks.

page1 - block1 page1 - block2 page1 - block3 page2 - block1 page2 - block2 page2 - block3 page3 - block3 page3 - block2 page3 - block3