fix test file errors from AMD conversion, refs #15942
(cherry picked from commit 959a31c8cc50bcafb31c5c27153272666d1aea95)