Fix test case (refs #8772)