Update tests to reflect new columns

Prior to this commit, the test cases did not reflect the fact that
the 'from_community' and 'closed' columns had been added to the
'pull_requests' table.

Now tests have been added to be sure these columns are populated
correctly.