To succesfully run test_it script in a multi site environment it must be accessed via web server it is the only way so that drupal boostrap functions knows which site it belongs to. But because of security issues it would be best not to let anyone else but the local machine to have access to this script.

IMHO the best way would be to configure apache just to let local machine access this script and run it with wget or curl.