This year’s stress test included JPMorgan Chase and Goldman Sachs, credit card companies including American Express and regional lenders such as Truist.