Refactored: IndexTest, IndexTrial