Fixed a GCC warning on Unit Test