Use a valid index in test.