how to run cpp-tests on Mac OS X