Implemented es_clean_up: removed assertion as it is to the lib to test. using getIndex from adapter.
Implemented es_clean_up: add testGetTypeMapping.