The EU watchdog set out scenarios that banks such as Deutsche Bank, BNP Paribas and Barclays will face in a test whose results will be published in October, raising hopes among policymakers that banks can finally turn a corner and lend more to the economy.