`XCAsyncTestCase` does not work as intended but `wait {}` does what we need. restored `needsToStartScanningWhenStopped` as a Bool var on actor fixed Enhancement test