Fix GPU tests to be compatible with recent template renaming.