rework TDTestTool so that the `test` and `ts` commands are callable from scripts...