This test is to ensure that we do not crash when destroying counter nodes.