add more test of index