Clean up some agressive GCC warnings in the unit tests.