Mark several test variables unused to clean up false positive clang-check analysis warnings.
Fix typo/bad test for Max.