simplify and add test for Fourchette::PullRequest