Pytests: fixed test_session_indexes - wait set_indexes/remove_indexes results.