Added tests for Mac OS X.