Tests for get_pages() caching. see #WP23167