added the index test