Macroeconomic Default Modeling and Stress Testing