Remove unused elements in test files.

They were causing errors about unused things in clang.
Merge branch 'FixWarnings'