Update bench_tester.py

1) Logging the output for subprocess.Popen  has been modified 
2) flose()  identation bug fixed