add ut for indexManager