code: def test_provider_properties():
      provider = PreserveProvider()
      old_provider = get_visualize_provider()
  
      set_visualize_provider(provider)
      assert get_visualize_provider() == provider
  
      set_visualize_provider(old_provider)
      assert get_visualize_provider() == old_provider
  
imports: from interpret import set_show_addr, get_show_addr, shutdown_show_server, status_show_server
  from interpret import show, init_show_server, preserve, get_visualize_provider, set_visualize_provider
  from ..tutils import synthetic_classification
  from interpret.glassbox import LogisticRegression
  from interpret import show_link
  import requests
  import os
  import tempfile
  import pytest
  from interpret.provider import PreserveProvider
label_desc: Use image node_id 1 for calling a global function with example usage: test_provider_properties() without return types