add missing test assertion (closes #20080)

Patch by Vajrasky Kok.
1 file changed