And this is to ensure that Runtimes were correctly loaded?

Suggestion for a future pull request: move this logic for "waiting the application load" to a helper function. We expect to test running Applications more and more, and having to do all this busywork gets away attention of what is being tested.