[SpecHelper] Fix test index searching