Use an array instead of a hash for storing test indices