edit index test