Tests that client can call undo multiple times with non-empty history.