For conservative Friedrich Merz, the vote was a first stress test before his potential chancellorship has even started.