Run-mode auto-detection enhancement

* Allow customisation.
* Added extra to list of known test runners.