code: def test_cbmt006_derived_props(dash_duo):
      app = Dash(__name__)
      app.layout = html.Div(
          [
              html.Div(id="output"),
              html.Button("click", id="btn"),
              dcc.Store(id="store"),
          ]
      )
  
      @app.callback(
          Output("output", "children"),
          [Input("store", "modified_timestamp")],
          [State("store", "data")],
      )
      def on_data(ts, data):
          return data
  
      @app.callback(Output("store", "data"), [Input("btn", "n_clicks")])
      def on_click(n_clicks):
          return n_clicks or 0
  
      dash_duo.start_server(app)
      dash_duo.wait_for_text_to_equal("#output", "0")
      dash_duo.find_element("#btn").click()
      dash_duo.wait_for_text_to_equal("#output", "1")
      dash_duo.find_element("#btn").click()
      dash_duo.wait_for_text_to_equal("#output", "2")
  
file_path: dash/tests/integration/callbacks/test_multiple_callbacks.py
imports: import time
  from multiprocessing import Value, Lock
  import pytest
  from dash import Dash, Input, Output, State, callback_context, html, dcc, dash_table
  from dash.exceptions import PreventUpdate
  import dash.testing.wait
label_desc: Use image node_id 6 for calling a global function with example usage: test_cbmt006_derived_props(dash_duo) and returns: data, unknown