Added test for index:list command.