Various nits in the test framework
Summary: As per title.
Test Plan:
./test/functional/test_runner.py
Reviewers: #bitcoin_abc, schancel
Reviewed By: #bitcoin_abc, schancel
Subscribers: teamcity
Differential Revision: https://reviews.bitcoinabc.org/D1177