Robustify rebase test: check patches are reapplied.