t4033-diff-patience: factor out tests