Issue 58 bug fix testrun.py