Allow customisation of testtools.run --list-tests behaviour.