CMS-2059 Enrich Content with children

Unit test for Content.hasChildren