OS X lock errors in testsuite