test to filter threads with coded_pages > 1 inside loop