update index file test case