code: def test_downgrade_dashboard():
      """
      ensure that dashboard downgrade operation produces a correct dashboard object
      """
      converted_dashboard = deepcopy(dashboard_v2)
      filters, filter_sets = downgrade_dashboard(converted_dashboard)
      assert filters == 1
      assert filter_sets == 1
      assert dashboard_v1 == converted_dashboard
  
imports: from copy import deepcopy
  from importlib import import_module
label_desc: Use image node_id 2 for calling a global function with example usage: test_downgrade_dashboard() without return types