tests: add the testosx.sh script to run OSX and iOS specific tests