fix invalid tests, refs #17998