move part of AppManagerTest setUp into setUpClass

speeds up app_manager tests from 30 mins to under 7.