Fix the test on listIndexes