Restore page number check in appendices tests.
Add a page number check to appendix tests.