allow test to work on implementations not using ref-counting (closes #22265)
1 file changed