CMS-953 Create initial framework for indexing content

Added more tests