Fixed missing safe_index_name on tests