Add specs for PullRequestsData helper.

Feel free to leave this PR open, or merge, whichever is more convenient.  I'm not done with PullRequestsData yet.  I'm going to do some refactoring now that there's test coverage, specifically to reduce the complexity of the is_test_required method, but also to reduce some other duplicate code.