def xtest_add_2(self):
      data = WorkspaceFactory.create()
      self.assertTrue(isinstance(data, Workspace))

      # Store it globally
      global_store.add("test", data)
      print "Before del"
      del data
      print "After del"
      print "Before clear"
      global_store.clear()
      print "After clear"
  def test_get(self):
      data = WorkspaceFactory.create()
      self.assertTrue(isinstance(data, Workspace))
      self.assertTrue(isinstance(data, Workspace2D))

      # Store it globally
      global_store.add("test", data)
      del data

      weak_data_ptr = global_store.get("test")
      self.assertTrue(isinstance(weak_data_ptr, Workspace))
      self.assertTrue(isinstance(weak_data_ptr, Workspace2D))

      global_store.add("test2", weak_data_ptr)
      global_store.remove("test")
      do_something(global_store)