Issue #11816: Add missing test helper

This is why I should really use hg import rather than patch,
but old habits die hard...
1 file changed