ezp-22049 implement configurable IndexPage
ezp-22049 Added unit tests