Test modifying bars#index