Fixed test warnings on x86