Factorize summarizer test
Synchronous summary generation from array of items