Added runtest script for osx