Make TestFrameworkTest more robust and making sure each test always stops everything it started.