ApplicationTestingService stateService state How a test checks whether the app is still running or has shut down, and how its run ended.