Test index change