Key test ahead on federal debt deal that could prevent a disastrous default