Add IssueRepository#has_issues?
Add test case for merge issues