Fixed test compiler error in Clang