This test checks for the use of an 'only' conditional-page-master-reference (XSL 1.1)

first only This is the only page only first last rest This is the first page This is a middle page This is a middle page This is the last page