But optimism about the economy is at risk of being challenged, especially given recent weakening in the US job market.