updated the index for the hook test