fixed test indexing