fixed OS X test issues