Implemented es_clean_up: added testGetIndexMapping
Fixed es_clean_up: added cover statements.