Try to improve test run script with osx