Paged layout tests

@BladeBronson @inez Please take a look