modernize test, refs #9575
fix typo, refs #17680