Bernanke testifies to relative strength of financial system