Added spec file for test_runner.py thus making pyspec self consuming and made a bug fix accordingly