Migrate the PullRequest#diff unit test
Test that PullRequest#close requires authentication