Making tests pass on mac os x
without this change tests would fail under mac os x
at least in 10.8.2