Fixed test to work on osx.