tests/run-tests.sh: Add verbosity for test runs

It's good to know what test has failed.
tests/run-tests.sh: Clean up directories when tests pass
git_history_walker.py: Make `test_branch_without_base_branch` pass

Change the implementation in `git_history_walker.py` so that the unit
test test_branch_without_base_branch passes correctly.