Why are you modifying an internal variable here?

My impression was that `_appPausedByInjector` is set only when the call stack has very specific format (triggered by the PAUSE_STRING code). That does not have to be necessarily true for the "SimplestScript". Even if it was true, the test should not depend on that, it creates duplication and high coupling between unrelated parts of the code/app.