Added getDumpIndex and its test method