This tests that layers are rebuilt properly after the page is restored from the page cache.