splitting out iterm version of applescript and making sure to open up test file when triggering test from model