More precise test for cache_pages with clean output