Added script.py, to capture a typical unit test script execution, and
wrap it in a run() function. Updated examples to use it.