FIX: unit test on OS X