Fix test/run_tests.sh to run on OSX
Merge pull request #1 from k0kubun/osx_run_tests

Fix test/run_tests.sh to run on OSX