Currently, all of this code is in AbstractSingleNode....Tests  which also implements specific tests, so needs to be refactored. I originally had these methods something like IntegrationTestSupport in DIRT, and then merged it into SNA because it seemed like something that was closely coupled. There were also a lot of guards in the separate class for application !=null, as the application must be started before these other components are discovered. So this seems cleaner to me. I'm open to suggestions though.