test(index): add sample test case