Added IssueRepository and tests