Fix failing app_manager tests