Removed debug print from test_index