Make TestFrameworkTest more robust and making sure each test always stop...

...s everything it started.
Oh nevermind, just saw `startProgram`.