unit test for script runner.
Some pep8 pylints.