Fixed test incompatibility on Unix