Add tests for new GithubApi methods