Prepare EntitySummaryResource and associated support classes for testing