Goldman Profit Beats Estimates on Debt Trading, Investments