index changed test