Add test of get_repo_branches_involved.
Add integration test.