Reduce the number of tests on OSX

Related to #777