Fixed test that was failing on OSX